package com.qidianit.mes.pro.service;

import com.github.pagehelper.PageInfo;
import com.qidianit.mes.pojo.Result;
import com.qidianit.mes.pojo.qc.CommonDefect;
import org.apache.ibatis.annotations.Param;

public interface CommonDefectService {
    Result<PageInfo<CommonDefect>>  selectList(CommonDefect commonDefect,int pageNum,int pageSize);

    Result  save(CommonDefect commonDefect);

    Result  updateById(CommonDefect commonDefect);

    Result  deleteById( Long id);

    Result batchDelete(@Param("ids") Long[] ids);

    Result<CommonDefect> selectById(Long id);
}
